#!/bin/bash
# 定义要处理的文件列表
# files=(
#   "osum-alpacaeval-test-audio.jsonl"
#   "osum-advbench-test-audio.jsonl"
#   "osum-commoneval-test-audio.jsonl"
#   "osum-ifeval-test-audio.jsonl"
#   "osum-openbookqa-test-audio.jsonl"
#   "osum-sd-qa-aus-audio.jsonl"
#   "osum-mmsu-biology-audio.jsonl"
#   "osum-mmsu-business-audio.jsonl"
#   "osum-mmsu-chemistry-audio.jsonl"
#   "osum-mmsu-economics-audio.jsonl"
#   "osum-mmsu-engineering-audio.jsonl"
#   "osum-mmsu-health-audio.jsonl"
#   "osum-mmsu-history-audio.jsonl"
#   "osum-mmsu-law-audio.jsonl"
#   "osum-mmsu-other-audio.jsonl"
#   "osum-mmsu-philosophy-audio.jsonl"
#   "osum-mmsu-physics-audio.jsonl"
#   "osum-mmsu-psychology-audio.jsonl"
# )
files=(
  "alpacaeval.jsonl"
  "advbench.jsonl"
  "osum-commoneval-test-audio.jsonl"
  "ifeval.jsonl"
  "openbookqa.jsonl"
  "sd-qa.jsonl"
  "mmsu_biology.jsonl"
  "mmsu_business.jsonl"
  "mmsu_chemistry.jsonl"
  "mmsu_economics.jsonl"
  "mmsu_engineering.jsonl"
  "mmsu_health.jsonl"
  "mmsu_history.jsonl"
  "mmsu_law.jsonl"
  "mmsu_other.jsonl"
  "mmsu_philosophy.jsonl"
  "mmsu_physics.jsonl"
  "mmsu_psychology.jsonl"
)

INPUT_DIR="../data"
OUTPUT_DIR="../0_37499"
mkdir -p "$OUTPUT_DIR"

for filename in "${files[@]}"
do
    python3 inter_text2text.py --input "$INPUT_DIR/$filename" --output "$OUTPUT_DIR/$filename" --choice "s2t"
done